package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品信息对象 infinite_goods
 * 
 * @author ruoyi
 * @date 2022-05-24
 */
@Data
public class InfiniteGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer id;

    /** 分类id */
    @Excel(name = "分类id")
    @JsonProperty("cId")
    private Integer cId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String title;

    /** 商品封面图 */
    @Excel(name = "商品封面图")
    private String imgurl;

    /** 排序值 */
    @Excel(name = "排序值")
    private Integer sort;

    /** 1上架 2 下架 3删除 */
    @Excel(name = "1上架 2 下架 3删除")
    private Integer status;

    /** 商品价格 */
    @Excel(name = "商品价格")
    private BigDecimal price;

    /** 保底数量 */
    @Excel(name = "保底数量")
    private Long minNum;

    /** 1普通 2积分 */
    @Excel(name = "1普通 2积分")
    private Integer type;

    /** 添加时间 */
    @Excel(name = "添加时间")
    private Integer addtime;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long creator;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    /**
     * 是否产生流水
     */
    private Integer ifLs;

    /**
     * 是否产生积分
     */
    private Integer ifJf;

    /**
     * 流水门槛 无限奖池
     */
    private Integer menKan;

    /**
     * 支付类型
     */
    private String payType;

    private Integer hotkey; // 热度

    private BigDecimal discount; //抽水

    private BigDecimal profit; //利润

    private Integer ifPublicShow; //是否公开显示

    private Integer goodsInterval; //无限赏区间

    private String categoryName; //分类名称


}
